//
//  FirstViewController.m
//  Lesson8HomeWork
//
//  Created by 周琦 on 15/9/26.
//  Copyright (c) 2015年 蓝鸥科技. All rights reserved.
//

#import "FirstViewController.h"
#import "LTView.h"

@interface FirstViewController ()

@end

@implementation FirstViewController

- (void)dealloc
{
    [super dealloc];
}
- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor redColor];
    self.navigationController.navigationBar.translucent = NO;
    self.navigationItem.title = @"第一页";
    for (int i = 0; i < 4; i++) {
        LTView *view = [[LTView alloc] initWithFrame:CGRectMake(0, 71 * i, self.view.frame.size.width, 66)];
        [self.view addSubview:view];
        [view release];
    }
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
 #pragma mark - Navigation
 
 // In a storyboard-based application, you will often want to do a little preparation before navigation
 - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
 // Get the new view controller using [segue destinationViewController].
 // Pass the selected object to the new view controller.
 }
 */

@end
